//
//  DECXProductOwner.m
//  DECXInStore
//
//  Created by 程强 on 15/12/14.
//  Copyright © 2015年 程强. All rights reserved.
//

#import "DECXProductOwner.h"

@implementation DECXProductOwner
- (instancetype)initWithResponse:(NSDictionary *)dic
{
    if (self = [super init]) {
        self.userid = ValidString(dic[@"id"]);
        self.username = dic[@"username"];
        self.phone = ValidString(dic[@"phone"]);
        self.tel = ValidString(dic[@"tel"]);
        self.email = ValidString(dic[@"email"]);
        self.userTrueName = ValidString(dic[@"user_true_name"]);
    }
    return self;
}
@end
